home *** CD-ROM | disk | FTP | other *** search
- 100 ifa=.thena=1:load"star basic",8,1
- 200 sys35792:poke56,56:clr
- 300 !cls:!printat2,10,"[159]loading sid.obj...":!bload"sid.obj"
- 400 !printat3,10,"loading music...":!bload"twenties.mus",18688
- 500 !printat4,10,"loading pic...":!compload"ggpic"
- 600 !border0:!back0:!disable:rem function keys
- 700 !cls:!cset1,14336:poke53272,30:!anion14336
- 800 !printat1,5,"[152][211][160][212][160][155][193][160][210][160][160][160][194][160][193][160][211][160][201][160][195][155][160][160][160][196][160][197][152][160][205] [207]"
- 900 !printat2,4,"[151]-------------------------------"
- 1000 printtab(12)"[154]by [211]teven [197]msley"
- 1100 fori=5to11:!printati,10,"[158][169][169][169][169][169][169][169][169][169][169][153][223][223][223][223][223][223][223][223][223][223]":next
- 1200 fori=12to18:!printati,10,"[159][223][223][223][223][223][223][223][223][223][223][169][169][169][169][169][169][169][169][169][169]":next:!frame1,5,"[223]"
- 1300 !anispeed3:!anileft95:!anidown105:!aniright45
- 1400 !sidon:!sidloc18688:!sidstart1
- 1500 !printat22,9,"[158][146][208]ress any key to go on":!getr
- 1600 fori=1to11:!rect0,5,40-i*2,25-i*2,i,i,"[223]":next
- 1700 !printat12,12," "
- 1800 fori=11to1step-1:!rect0,1,40-i*2,25-i*2,i,i," ":next:!cls:!sleep1
- 1810 !fill1024,1024+40*12,160:!cfill15
- 1820 print"[155][201] made this block by filling a section"
- 1830 print" of screen memory with 160's (reverse
- 1840 [153]" (NULL)(NULL)atnlenval) with the !ascright$(NULL)(NULL) command.":![161]a$
- 1845 [153]" (NULL)here is also a !(NULL)(NULL)(NULL)val command. (NULL)et's
- 1850 print" [205][207][214][197] the top of the screen to the
- 1855 [153]" bottom...":![161]a$
- 1860 !move1024,1024[170]40[172]12[170]1,1024[170]40[172]13:![161]a$
- 1861 !fill1024,1024[170]40[172]12,160:![153]at7,3,"(NULL)hat was one creative use of !(NULL)(NULL)(NULL)val."
- 1862 [153]"(NULL)ou can also use it to scroll a"
- 1863 [153]"section of the screen...":![161]a$
- 1865 [129]i[178]1[164]12:[129]d[178]1[164]9:[130]:!move1024[170]40[172]14,2023,1024[170]40[172]13:[130]:![161]a$
- 1867 [129]i[178]1[164]11:!move1064,1024[170]40[172]11,1024:[130]:!sleep1
- 1870 [153]"(NULL)ou can display (NULL)(NULL)atn(NULL)atn pics with one"
- 1875 [153]"command. (NULL)ress a key to see...":![161]a$
- 1880 !cfill1:!pause5:!cfill15:!pause5:!cfill12:!pause5:!cfill11:!pause5:!cfill0
- 1900 !kdis:![161]a$:!cfill0:!text:!cls:!back0:!b[176]der0
- 2000 !fill1024,1024[170]40[172]12,160:!cfill15
- 2100 !speed25,1:[153]"list (NULL)his is an example of slow printing.":!sleep1
- 2200 !speed65,1:[153]"(NULL)ow it's even slower. ";:!sleep1:!speed1,0
- 2300 [153]"peekack to normal!":![161]a$
- 2400 !fill1024,1024[170]40[172]12,160:!cfill15
- 2500 [153]"(NULL)ou can animate up to four characters"
- 2505 [153]"in your font, scrolling them in any of"
- 2510 [153]"four directions...":![161]a$
- 2600 !anispeed1:!aniup1:!anidown2:!anileft3:!aniright4
- 2700 !fill1024[170]12[172]40,2024,1:!sleep2:!fill1024[170]15[172]40,2024,2:!sleep2
- 2800 !fill1024[170]18[172]40,2024,3:!sleep2:!fill1024[170]21[172]40,2024,4:!sleep2
- 2900 !rect0,7,8,11,1,13,"a":!sleep2:[153]
- 3000 !rect0,3,8,11,11,13,"b":!sleep2:[153]
- 3100 !rect0,13,8,11,21,13,"c":!sleep2:[153]
- 3200 !rect0,8,8,11,31,13,"d":![161]a$
- 3210 !cfill1:!pause5:!cfill15:!pause5:!cfill12:!pause5:!cfill11:!pause5:!cfill0
- 3300 !cls:!anioff:!sleep1
- 3400 [153]"loadopen (NULL)his is just a sampling of the easy"
- 3500 [153]"to use commands in star basicopen.
- 3600 printspc(7)"[159][209]uit or [196]emo again? [158]([209][159]/[196][158])"
- 3610 geta$:ifa$<>"q"anda$<>"d"then3610
- 3620 ifa$="q"then:!sclr:!quit:goto60000
- 3700 run600
- 10000 save"@0:star basic demo",8
- 60000 a$="hello connect":open15,8,15,"r0:"+a$+"="+a$:input#15,er:close15
- 60010 if er<>63 then print"[147]":poke56,160:clr:end
- 60011 q$=chr$(34):poke646,peek(53281):print"[147]"
- 60020 print"load"q$a$q$",8"
- 60030 print"run":poke631,13:poke632,13:poke198,2:end
-